

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'mtsys-county-form',
	'enableAjaxValidation'=>false,
	'htmlOptions'=>array(
		'class' => 'form collapsed',
	),
)); ?>
<fieldset class="grey inline">
	<legend><?php echo Controller::getActionName($this->action->id); ?></legend>
	
	<div class="notification tip" style="display: block; "> 
    <span class="strong">Tip:</span> <?php echo $form->errorSummary($model); ?>
 <span class="close" title="Dismiss"></span>
    </div>
	<label>
		<?php echo $form->labelEx($model,'PROVINCE_ID'); ?>
		<?php echo $form->textField($model,'PROVINCE_ID'); ?>
		<?php //echo $form->error($model,'PROVINCE_ID'); ?>
	</label>

	<label>
		<?php echo $form->labelEx($model,'CITY_ID'); ?>
		<?php echo $form->textField($model,'CITY_ID'); ?>
		<?php //echo $form->error($model,'CITY_ID'); ?>
	</label>

	<label>
		<?php echo $form->labelEx($model,'LEVEL_N'); ?>
		<?php echo $form->textField($model,'LEVEL_N'); ?>
		<?php //echo $form->error($model,'LEVEL_N'); ?>
	</label>

	<label>
		<?php echo $form->labelEx($model,'COUNTY_NAME'); ?>
		<?php echo $form->textField($model,'COUNTY_NAME',array('size'=>50,'maxlength'=>50)); ?>
		<?php //echo $form->error($model,'COUNTY_NAME'); ?>
	</label>

	<?php echo CHtml::submitButton($model->isNewRecord ? '创建' : '保存',array('class'=>'button blue')); ?>
</fieldset>
<?php $this->endWidget(); ?>

